package com.zhy.sunmi.bean;

public class SocketSuccessBean {


    /**
     * jsonrpc : 2.0
     * result : {"amountBase":3142,"amountCashback":0,"amountGratuity":0,"amountTotal":3142,"applicationId":"A0000000012345","applicationLabel":"VISA","authCode":"","cardSchemeName":"VISA","cardholderVerificationMethod":"PIN","currency":"GBP","dateOfExpiry":"01/22","dateOfStart":"01/10","paymentMethod":"ICC_CHIP","primaryAccountNumber":"************0123","primaryAccountNumberSequence":"01","tid":"VCMSPXUSIP0","transactionId":"01234567","transactionNumber":"0123","transactionResult":"SUCCESSFUL","transactionTime":"2021-10-08T05:23:57Z","transactionType":"SALE"}
     * id : 0
     */

    private String jsonrpc;
    private ResultBean result;
    private long id;

    public String getJsonrpc() {
        return jsonrpc;
    }

    public void setJsonrpc(String jsonrpc) {
        this.jsonrpc = jsonrpc;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public static class ResultBean {
        /**
         * amountBase : 3142
         * amountCashback : 0
         * amountGratuity : 0
         * amountTotal : 3142
         * applicationId : A0000000012345
         * applicationLabel : VISA
         * authCode :
         * cardSchemeName : VISA
         * cardholderVerificationMethod : PIN
         * currency : GBP
         * dateOfExpiry : 01/22
         * dateOfStart : 01/10
         * paymentMethod : ICC_CHIP
         * primaryAccountNumber : ************0123
         * primaryAccountNumberSequence : 01
         * tid : VCMSPXUSIP0
         * transactionId : 01234567
         * transactionNumber : 0123
         * transactionResult : SUCCESSFUL
         * transactionTime : 2021-10-08T05:23:57Z
         * transactionType : SALE
         */

        private int amountBase;
        private int amountCashback;
        private int amountGratuity;
        private int amountTotal;
        private String applicationId;
        private String applicationLabel;
        private String authCode;
        private String cardSchemeName;
        private String cardholderVerificationMethod;
        private String currency;
        private String dateOfExpiry;
        private String dateOfStart;
        private String paymentMethod;
        private String primaryAccountNumber;
        private String primaryAccountNumberSequence;
        private String tid;
        private String transactionId;
        private String transactionNumber;
        private String transactionResult;
        private String transactionTime;
        private String transactionType;

        public int getAmountBase() {
            return amountBase;
        }

        public void setAmountBase(int amountBase) {
            this.amountBase = amountBase;
        }

        public int getAmountCashback() {
            return amountCashback;
        }

        public void setAmountCashback(int amountCashback) {
            this.amountCashback = amountCashback;
        }

        public int getAmountGratuity() {
            return amountGratuity;
        }

        public void setAmountGratuity(int amountGratuity) {
            this.amountGratuity = amountGratuity;
        }

        public int getAmountTotal() {
            return amountTotal;
        }

        public void setAmountTotal(int amountTotal) {
            this.amountTotal = amountTotal;
        }

        public String getApplicationId() {
            return applicationId;
        }

        public void setApplicationId(String applicationId) {
            this.applicationId = applicationId;
        }

        public String getApplicationLabel() {
            return applicationLabel;
        }

        public void setApplicationLabel(String applicationLabel) {
            this.applicationLabel = applicationLabel;
        }

        public String getAuthCode() {
            return authCode;
        }

        public void setAuthCode(String authCode) {
            this.authCode = authCode;
        }

        public String getCardSchemeName() {
            return cardSchemeName;
        }

        public void setCardSchemeName(String cardSchemeName) {
            this.cardSchemeName = cardSchemeName;
        }

        public String getCardholderVerificationMethod() {
            return cardholderVerificationMethod;
        }

        public void setCardholderVerificationMethod(String cardholderVerificationMethod) {
            this.cardholderVerificationMethod = cardholderVerificationMethod;
        }

        public String getCurrency() {
            return currency;
        }

        public void setCurrency(String currency) {
            this.currency = currency;
        }

        public String getDateOfExpiry() {
            return dateOfExpiry;
        }

        public void setDateOfExpiry(String dateOfExpiry) {
            this.dateOfExpiry = dateOfExpiry;
        }

        public String getDateOfStart() {
            return dateOfStart;
        }

        public void setDateOfStart(String dateOfStart) {
            this.dateOfStart = dateOfStart;
        }

        public String getPaymentMethod() {
            return paymentMethod;
        }

        public void setPaymentMethod(String paymentMethod) {
            this.paymentMethod = paymentMethod;
        }

        public String getPrimaryAccountNumber() {
            return primaryAccountNumber;
        }

        public void setPrimaryAccountNumber(String primaryAccountNumber) {
            this.primaryAccountNumber = primaryAccountNumber;
        }

        public String getPrimaryAccountNumberSequence() {
            return primaryAccountNumberSequence;
        }

        public void setPrimaryAccountNumberSequence(String primaryAccountNumberSequence) {
            this.primaryAccountNumberSequence = primaryAccountNumberSequence;
        }

        public String getTid() {
            return tid;
        }

        public void setTid(String tid) {
            this.tid = tid;
        }

        public String getTransactionId() {
            return transactionId;
        }

        public void setTransactionId(String transactionId) {
            this.transactionId = transactionId;
        }

        public String getTransactionNumber() {
            return transactionNumber;
        }

        public void setTransactionNumber(String transactionNumber) {
            this.transactionNumber = transactionNumber;
        }

        public String getTransactionResult() {
            return transactionResult;
        }

        public void setTransactionResult(String transactionResult) {
            this.transactionResult = transactionResult;
        }

        public String getTransactionTime() {
            return transactionTime;
        }

        public void setTransactionTime(String transactionTime) {
            this.transactionTime = transactionTime;
        }

        public String getTransactionType() {
            return transactionType;
        }

        public void setTransactionType(String transactionType) {
            this.transactionType = transactionType;
        }
    }
}
